﻿using Abp.AutoMapper;
using Akso.Orders.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Akso.Web.Areas.StudentModule.Models.Orders
{
    public class OrdersViewModel
    {
        public string FilterText { get; set; }
    }

    public class OrderInfoViewModel: GetOrderForEditOutput
    {
        public bool IsEditMode
        {
            get { return Order.Id.HasValue; }
        }

        public OrderInfoViewModel(GetOrderForEditOutput output)
        {
            output.MapTo(this);
        }
    }
}